package com.example.sample.Infrastructure.Model.Command;

import com.example.sample.Infrastructure.Model.Enum.PaymentType;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.util.List;


public class OrderChangeCompleteCommand {

    public OrderChangeCompleteCommand(String orderChangeId, double extendedDays, String contractDeliveryDate, String deliveryDate, com.example.sample.Infrastructure.Model.Enum.PaymentType paymentType, String remark, String attachment) {
        OrderChangeId = orderChangeId;
        ExtendedDays = extendedDays;
        ContractDeliveryDate = contractDeliveryDate;
        DeliveryDate = deliveryDate;
        PaymentType = paymentType;
        Remark = remark;
        Attachment = attachment;
    }

    /// <summary>
    ///订单变更Id
    /// </summary>
    public String OrderChangeId;

    /// <summary>
    ///延长日期
    /// </summary>
    public double ExtendedDays;

    /// <summary>
    ///合同交付日
    /// </summary>
    public String ContractDeliveryDate;

    /// <summary>
    ///签证后交付日
    /// </summary>
    public String DeliveryDate;

    /// <summary>
    ///收款类型1.收款后执行 2.尾款收退款 3.结算收退款
    /// </summary>
    public PaymentType PaymentType;

    /// <summary>
    ///规责备注
    /// </summary>
    public String Remark;

    /// <summary>
    ///附件
    /// </summary>
    public String Attachment;

    public List<OrderChangeCompleteDetailCommand> OrderChangeCompleteDetailList;
}

class OrderChangeCompleteDetailCommand{

    /// <summary>
    ///归责团队类型
    /// </summary>
    public String TeamType;

    /// <summary>
    ///责任人名称
    /// </summary>
    public String ResponsibilityPeople;

    /// <summary>
    ///承担金额
    /// </summary>
    public double Amount;

    /// <summary>
    ///判责下发时间
    /// </summary>
    public DateTimeLiteralExpression.DateTime IssuedDate;

    /// <summary>
    ///备注
    /// </summary>
    public String Remark;
}